{% extends "base.html" %}

{% block title %} 
Uploading {{ homework.course }} homework.
{% endblock %}

{% block content%}

<p>
<form name="login" method="post" action="/hwk/uploading/" enctype="multipart/form-data">
	<input type="hidden" name="mark" value="" />
	<input type="hidden" name="homeworkid" value="{{ homework.id }}" />

	<strong>Please enter the file you want to upload:</strong><br /> 
	{{ form.hwkfile }} {{ form.hwkfile_file }} {{ form.homework_id }}
<input type="submit" name="submit" value="Upload!" / >
</form>
<br /><br />
Currently uploading to {{ homework.course }} homework for the date {{ homework.duedate }}
</p> 
{% endblock %}
